$Status= smtp.AddAttachment (<File>, <Name>, [MimeType])
This function allows to add an attachment to the e-mail body.
Parameters
<File> Specifies the exact path of the file.
<Name> Specifies the file name.
[MimeType] Represents the mime type on the basis of provided file. This is an optional parameter.
To include more attachments, call the function multiple times.
Return Value
Function returns 1 on success, 0 on failure.